package com.ruoyi.system.mapper.Registry;

import com.ruoyi.system.domain.RegistrationRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RegistryRequestMapper {

    public RegistrationRequest selectUserRegistrationRequestsById(Long id);
    void insertRegistrationRequest(RegistrationRequest registrationRequest);

    public List<RegistrationRequest> selectPendingRequests(RegistrationRequest registrationRequest);

    /**
     * 查询注册请求列表,可以按筛选条件进行筛选列表
     * @param registrationRequest
     * @return
     */
    public List<RegistrationRequest> selectRegistrationRequestsList(RegistrationRequest registrationRequest);

    void updateRequestStatus(RegistrationRequest registrationRequest);
}
